@import "./config/baseConf";

html.darkTheme{
  //filter: grayscale(1);
  filter: invert(1) hue-rotate(180deg);
  .header,
  .footer{
    color: #333;
    background-color: #fff;
    a,
    .nav-signed span{
      color: #333;
    }
    a{
      &:hover{
        color: #BBB;
      }
    }
  }
}

// opacity-linear
@keyframes opacityLinear {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.opacity-linear{
  animation: opacityLinear .5s linear;
}

::-moz-placeholder{
  color: #D3D3D3;
}
::-ms-input-placeholder{
  color: #D3D3D3;
}
::-webkit-input-placeholder {
  color: #D3D3D3;
}

.hidden{
  display: none!important;
}
.float-r{
  float: right;
}
.float-l{
  float: left;
}
.align-center{
  text-align: center;
}
.align-left{
  text-align: left;
}
.align-right{
  text-align: right;
}

.clearfix{
  &::before{
    content: '';
    display: block;
    width: 0;
    height: 0;
    clear: both;
  }
}

.txt-ellipsis{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pos-central{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.pos-central-v{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.pos-central-h{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.short-name{
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  text-align: center;
  background: $main_color;
  color: #fff!important;
}

.icon{
  display: inline-block;
  background-image: url($sprite);
  &.icon-eye{
    width: 24px;
    height: 20px;
    background-position: -86px -88px;
  }
  &.icon-comment{
    width: 20px;
    height: 20px;
    background-position: -145px -87px;
  }
  &.icon-praise{
    width: 22px;
    height: 20px;
    background-position: -287px -86px;
    cursor: pointer;
    &.done{
      background-position: -336px -86px;
      cursor: not-allowed;
    }
  }
}

.text-range{
  position: absolute;
  right: 5px;
  bottom: 5px;
  color: #666;
  font-size: 12px;
  background-color: #fff;
}
.data-empty{
  width: 704px;
  height: 322px;
  margin: 0 auto;
  padding: 50px 0;
  background-image: url($empty);
  background-position: center;
  background-repeat: no-repeat;
}

html,body{
  box-sizing: border-box;
  height: 100%;
  font-size: $fontSizeMd;
  font-family: "Microsoft yahei", Verdana, Geneva, sans-serif;
}

body{

  .back-top{
    position: fixed;
    z-index: 10001;
    left: 50%;
    bottom: 220px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    margin-left: 630px;
    margin-bottom: 1px;
    text-align: center;
    cursor: pointer;
    font-size: 44px;
    background-color: #9F9F9F;
    color: #fff;
    border-radius: 2px;
    opacity: .95;
    &:hover{
      cursor: pointer;
      opacity: .85;
    }
  }

  .layui-form-select dl{
    padding: 0;
    top: 35px;
    dd.layui-this{
      background-color: $main_color;
    }
  }

  .layui-textarea{
    resize: none;
  }
  .layui-laydate .layui-this{
    background-color: $main_color!important;
  }
  .layui-layer.layui-layer-page{
    border-radius: 5px;
    &>.layui-layer-title{
      border-radius: 5px 5px 0 0;
    }
    &>.layui-layer-content{
      border-radius: 0 0 5px 5px;
    }
  }
  .layui-input[readonly]{
    padding-right: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: default;
    &.select-icon{
      background-image: url($icon_down_arrow);
      background-repeat: no-repeat;
      background-position: center;
      background-position-x: 95%;
      background-size: 12px 12px;
    }
  }

  .chosen-container-single .chosen-single{
    border-radius: 2px;
    border-color: #ccc;
  }
  .chosen-container-single .chosen-default{
    color: #D3D3D3;
  }

  /*
 shared pages
*/
  &.shared{
    height: 100%;
    background-color: $sharedBgColor;
    text-align: center;
    .layui-btn{
      background: $sharedBtnColor;
    }
    .tips{
      margin: 0 auto;
      height: 360px;
      position: absolute;
      left: 50%;
      top: 42%;
      transform: translate(-50%, -50%);
    }
    .bg{
      width: 420px;
      height: 280px;
      margin-bottom: 40px;
      background-position: center;
      background-repeat: no-repeat;
    }
    .not-found>.bg{
      background-image: url($error_400);
    }
    .server-error>.bg{
      background-image: url($error_500);
    }
  }
}

.layui-btn{
  &[disabled]{
    cursor: not-allowed;
    color: #fff!important;
    background-color: #bbb!important;
    outline-color: #bbb!important;;
    border-color: #bbb!important;;
  }
}

.layui-laypage{
  display: block;
  padding:  20px 0 10px;
  text-align: center;
  &>*{
    margin-left: 10px!important;
  }
  .layui-laypage-skip{
    font-size: 12px;
    color: #555;
    &>button{
      display: none;
    }
    &>input{
      width: 50px;
      vertical-align: 0px;
    }
  }
  a{
    padding: 0;
    text-align: center;
    border: 1px solid #cfcfcf;
    &:not(.layui-disabled):hover{
      border-color: $main_color;
      color: $main_color;
    }
  }
  a,
  span.layui-laypage-curr{
    width: 30px;
    padding: 0;
  }
  a,
  select,
  .layui-input,
  span,
  span.layui-laypage-curr{
    font-size: 14px;
    border-radius: 5px;
    line-height: 27px;
  }
  select{
    height: 20px;
  }
  a,span{
    height: 26px;
  }
  input{
    height: 27px;
  }
  select,
  .layui-input{
    color: #333;
    border-color: #CFCFCF;
    &:focus{
      border-color: $main_color!important;
    }
  }
  .layui-laypage-curr{
    text-align: center;
    border: 1px solid $main_color;
    em{
      color: $main_color;
    }
    .layui-laypage-em{
      display: none;
    }
  }
}
.layui-layer{
  .layui-layer-title{
    height: 48px;
    line-height: 48px;
    background-color: #fff;
    font-size: 16px;
  }
  .layui-layer-btn{
    padding: 10px 15px 12px;
    text-align: center;
    border-top: 1px solid $baseBlueColor;
    &>a{
      border-radius: 3px;
      height: 30px;
      line-height: 30px;
      &:first-child{
        background: $main_color;
        border-color: $main_color;
        color: #fff;
        &:hover{
          opacity: .8;
        }
      }
    }
  }
  .layui-form-item{
    text-align: center;
    .layui-btn{
      width: 60px;
      height: 32px;
      line-height: 32px;
      padding: 0;
      background-color: $main_color;
    }
    .layui-btn-primary{
      color: $main_color;
      border-color: $main_color;
      background-color: #fff;
    }
    .layui-input,
    .layui-select,
    .layui-textarea{
      border-color: #ccc;
    }
  }
  &.layui-layer-hui{
    .layui-layer-content{
      color: #fff;
    }
  }
}

.pwd-icon-close{
  position: absolute;
  right: 10px;
  bottom: 9px;
  width: 20px;
  height: 20px;
  background-image: url($sprite);
  background-position: -55px -188px;
  &.open{
    background-position: -18px -188px;
  }
  &:hover{
    cursor: pointer;
    opacity: .85;
  }
}

.sign-part{
  .pwd-icon-close{
    bottom: 5px;
  }
}

.layui-layer-loading.my-loading{
  left: 50%!important;
  top: 45%;
  transform: translate(-50%, -50%);
}

// layout
.layout{
  min-width: $minWidth;
  padding-top: 65px;
  .content{
    width: $minWidth;
    margin: 0 auto;
  }
  .layout-content{
    background-color: #fff;
    min-height: calc(100% - 200px);
  }
}

.header{
  box-sizing: border-box;
  position: fixed;
  z-index: 99999;
  top: 0;
  width: 100%;
  height: 64px;
  padding: 10px 0;
  background-color: #141414;
  .nav-left,
  .nav-right{
    float: left;
  }
  .nav-left{
    width: 58.33333333%;
    img{
      margin-right: 10px;
    }
    &>*{
      float: left;
    }
  }
  .nav-right{
    width: 41.66666667%;
    &>.nav-item{
      padding: 0 12px;
    }
  }
  div.nav-item{
    width: auto;
  }
  .nav-item{
    position: relative;
    height: 40px;
    line-height: 40px;
    padding: 0 15px;
    color: #fff;
    font-size: 15px;
    text-align: center;
    &:hover,
    &.active{
      color: $main_color;
      transition: all .2s;
    }
    &.locationWrap{
      span{
        display: inline-block;
      }
      .change{
        user-select: none;
        color: #9B9798;
        cursor: pointer;
      }
      .currentCity{
        float: left;
        max-width: 74px;
        cursor: default;
      }
    }
    &.nav-min{
      padding: 0 5px;
    }
    &.nav-exact{
      padding-left: 12px;
    }
    &.nav-wrap{
      width: 75px;
      padding: 0;
    }
    &>.window{
      position: absolute;
      top: 0px;
      width: 100%;
      height: 40px;
      overflow: hidden;
      &>.show,
      &>.hide{
        height: 40px;
        line-height: 40px;
        width: 100%;
        position: absolute;
        top: 0px;
        transition: top .3s;
      }
      &>.hide{
        top: 32px;
      }
    }
    &:hover{
      .show{
        top: -32px;
        transition: top .2s;
      }
      .hide{
        top: 0px;
        transition: top .2s;
      }
    }
  }
  .nav-signed{
    float: right;
    position: relative;
    box-sizing: border-box;
    line-height: 40px;
    text-align: center;
    img{
      width: 28px;
      height: 28px;
      border-radius: 50%;
      vertical-align: 5px;
    }
    span{
      display: inline-block;
      max-width: 200px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      padding: 0 6px;
      padding-left: 0;
      color: #fff;
    }
    &:hover{
      .name{ color: $main_color;}
      .nav-signed-child{
        transition: all .2s;
        visibility: visible;
        top: 40px;
      }
    }
  }
  .nav-signed-child{
    visibility: hidden;
    position: absolute;
    z-index: 10001;
    width: 90px;
    line-height: 36px;
    padding: 5px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,.12);
    border: 1px solid #d2d2d2;
    text-align: center;
    border-radius: 2px;
    white-space: nowrap;
    background-color: #fff;
    font-size: 14px;
  }
  .nav-signed-child{
    top: 70px;
    right: 50%;
    margin-right: -46px;
    &>dd>a{
      &:hover{
        color: $main_color;
      }
    }
  }
  .seperation{
    color: #fff;
  }
}
.footer{
  height: 200px;
  box-sizing: border-box;
  padding: 25px 0 0px;
  color: #C4C4C4;
  background-color: #141414;
  .footer-logo{
    padding-top: 15px;
    &>p{
      padding: 22px 0 25px;
      color: $orange;
      font-size: 22px;
      font-weight: 700;
      font-style: italic;
      font-family: fantasy;
      letter-spacing: 2px;
      word-spacing: 6px;
    }
  }
  .footer-link{
    overflow: hidden;
    &>div{
      float: left;
      width: 100px;
      line-height: 36px;
    }
    a{
      display: block;
      color: #CCCCCC;
      &:hover{
        color: #fff;
        transition: color .2s;
      }
    }
  }
  .footer-ewm{
    &>div{
      display: inline-block;
      width: 72px;
      padding-left: 20px;
      font-size: 0px;
      &>img{
        margin: 6px 0;
      }
      &>p{
        padding: 5px 0;
        font-size: 12px;
        text-align: left;
      }
    }
  }
  .beian{
    padding-top: 10px;
    font-size: 12px;
    color: #999;
    border-top: 1px solid #393939;
    a{
      color: #999;
      &:hover{
        color: #fff;
      }
    }
  }
}

// index page
.index-page{
  .layui-carousel-ind{
    top: -25px;
  }
  .layui-carousel-ind ul{
    background: none;
  }
  .layui-carousel-ind li{
    margin: 0 8px;
  }
  .layui-carousel-ind li.layui-this{
    width: 20px;
    border-radius: 10px;
  }
  .sign-part{
    height: 250px;
    background-image: url("/public/images/index/sign-part-bg.png");
    background-position: top center;
    background-repeat: no-repeat;
    &>.content{
      position: relative;
    }
    .sign-form{
      width: 240px;
      height: 180px;
      padding: 0 20px;
      position: absolute;
      right: 0;
      top: 0px;
      background-color: #47C1C6;
      overflow: hidden;
    }
    .sign-form-cg,
    .sign-form-ag>a,
    .sign-form-ag{
      color: #fff;
      font-size: 12px;
    }
    .sign-form-ag>a:hover{
      text-decoration: underline;
    }
    .sign-form-cg{
      padding: 8px 0 12px;
      &>span{
        margin-right: 20px;
        cursor: pointer;
        &.active{
          border-bottom: 3px solid #fff;
        }
      }
    }
    .layui-btn,
    .layui-input{
      width: 100%;
      height: 30px;
      line-height: 30px;
      border-radius: 3px;
    }
    .layui-input:focus {
      border-color: #999!important;
    }
    .layui-btn{
      background-color: $orange;
    }
    .layui-form-item{
      position: relative;
      margin-bottom: 10px;
      &.code{
        .layui-input{
          display: inline-block;
          width: 155px;
        }
        .layui-btn{
          width: 70px;
          margin-left: 10px;
          vertical-align: 0px;
        }
      }
    }
  }
  .search-part{
    padding: 30px 0;
    .search-form{
      width: 790px;
      height: 44px;
      margin: 0 auto;
      border: 2px solid $main_color;
      border-radius: 24px;
      position: relative;
      .layui-input,
      .layui-btn{
        height: 44px;
        line-height: 44px;
        font-size: 18px;
      }
      .layui-input{
        width: 620px;
        border: none;
        outline: none;
        margin-left: 10px;
        border-radius: 24px 0 0 24px;
      }
      .layui-btn{
        position: absolute;
        top: -1px;
        right: -1px;
        width: 120px;
        height: 46px;
        border-radius: 24px;
        background-color: $main_color;
        &:hover{
          opacity: .95;
        }
      }
      &:hover{
        opacity: .9;
      }
    }
    .search-hot{
      width: 750px;
      margin: 6px auto 0;
      &>span{
        color: #666;
        margin-right: 10px;
      }
      &>a{
        margin-right: 15px;
        color: $main_color;
        &:hover{
          opacity: .8;
        }
      }
    }
  }
  .filter-part{
    position: relative;
    padding-top: 20px;
    .filter-carousel{
      width: 792px;
      height: 250px;
    }
    .show-all-post{
      position: absolute;
      z-index: 10009;
      bottom: 0px;
      width: 370px;
      padding-left: 5px;
      background-color: #fff;
      &>a{
        color: $main_color;
        &:hover{
           opacity: .8;
        }
      }
    }
    .filter-aside-menu{
      position: relative;
      top: -35px;
      width: 408px;
      height: 285px;
      padding: 20px 5px;
      &.filter-menu-hidden{
        overflow: hidden;
        .filter-div-menu{
          box-shadow: none;
        }
        .filter-div-menu>.item{
          &:nth-child(6){
            margin-top: 10px;
          }
        }
      }
    }
    .filter-div-menu{
      position: absolute;
      z-index: 10001;
      width: 380px;
      background-color: #fff;
      box-shadow: 0 0 5px 2px rgba(0,0,0,.1);
      .sort{
        margin-right: 15px;
        color: #676767;
        font-size: 16px;
        &.title{
          color: #333;
          font-size: 18px;
        }
      }
      .item{
        position: relative;
        height: 48px;
        line-height: 48px;
        padding: 0 35px 0 5px;
        overflow: hidden;
        word-break: keep-all;
        &.layui-icon:before{
          position: absolute;
          right: 10px;
          top: 0px;
          color: #777;
          font-size: 14px;
        }
        &.hover{
          box-shadow: 0 0 5px 2px #e8e8e8;
        }
      }
    }
    .filter-cnt{
      &>.item{
        visibility: hidden;
        position: absolute;
        z-index: 10001;
        left: 387px;
        top: 5px;
        width: 600px;
        min-height: 24px;
        padding: 12px 20px;
        background-color: #fff;
        box-shadow: 0 0 5px 2px rgba(0,0,0,.1);
        word-break: keep-all;
        &:before{
          content: '';
          display: block;
          width: 10px;
          height: 48px;
          position: absolute;
          left: -5px;
          top: 0px;
          background-color: #fff;
        }
        &.hover{
          visibility: visible;
        }
      }
      .title{
        padding-bottom: 5px;
        font-size: 16px;
        color: #666;
      }
      .sort{
        margin-right: 15px;
        line-height: 1.6;
        color: #999;
      }
      .cnt+.title{
        margin-top: 15px;
      }
    }
    a.sort{
      &:hover{
        color: $main_color;
        text-decoration: underline;
      }
    }
  }
  .newest-post{
    padding: 30px 0 20px;
    &>.title{
      padding-bottom: 10px;
      border-bottom: 1px solid #eee;
      font-size: 18px;
      color: #333;
      &>a{
        margin-top: 3px;
        font-size: 14px;
        color: $main_color;
        &:hover{
          text-decoration: underline;
        }
      }
    }
    .list{
      display: table;
      padding-bottom: 5px;
    }
    .item{
      box-sizing: border-box;
      position: relative;
      float: left;
      width: 380px;
      height: 162px;
      margin: 25px 24px 0 3px;
      padding: 18px 0;
      border: 1px solid #eee;
      border-radius: 3px;
      &:nth-child(3n){
        margin-right: 0;
      }
      &>.title{
        overflow: hidden;
        padding: 0 18px;
        &>a:hover{
          h3{
            color: $main_color;
          }
        }
      }
      &:hover{
        border-color: #fff;
        box-shadow: 0 0 5px 2px #e8e8e8;
      }
      &.wp{
        &::before{
          content: '';
          display: block;
          width: 49px;
          height: 28px;
          position: absolute;
          left: -11px;
          top: -6px;
          background-image: url($wp_icon);
          background-position: center;
        }
      }

    }
    .post,
    .salary{
      font-size: 17px;
    }
    .location,
    .scale,
    .post-short{
      color: #999;
    }
    .post{
      max-width: 180px;
      margin-right: 15px;
      color: #333;
    }
    .location{
      margin-top: 3px;
    }
    .salary{
      color: $orange;
    }
    .post-short{
      padding: 5px 18px 19px;
    }
    .company{
      position: relative;
      padding: 18px 18px 0 70px;
      border-top: 1px dashed #eee;
      .short-name,
      img{
        width: 40px;
        height: 40px;
        border-radius: 5px;
        position: absolute;
        left: 20px;
      }
      &>.name{
        padding-bottom: 3px;
        &:hover a{
          color: $main_color;
        }
      }
    }

  }
  .cooperation{
    padding: 50px 0;
    .title{
      margin-bottom: 50px;
      padding-bottom: 10px;
      border-bottom: 1px solid #eee;
      font-size: 18px;
      color: #333;
      &>a{
        margin-top: 3px;
        font-size: 14px;
        color: $main_color;
        &:hover{
          text-decoration: underline;
        }
      }
    }
    .scroll-slider{
      height: 80px;
    }
    .slider-item{
      margin-right: 24px;
      width: 180px;
    }
    .scroll-slider{
      position: relative;
      overflow: hidden;
    }
    .scroll-slider-items{
      position: absolute;
      width: 9999px;
      height: inherit;
      font-size: 0px;
    }
    .slider-item{
      float: left;
      box-sizing: border-box;
      position: relative;
      height: inherit;
    }

  }
}

// my
// record collect setting
.my-empty{
  position: relative;
  width: 320px;
  margin: 300px auto 150px;
  text-align: center;
  color: #ccc;
  font-size: 22px;
  &:before{
    content: '';
    display: block;
    position: absolute;
    top: -165px;
    width: inherit;
    height: 165px;
    background-image: url("/public/images/my/my-empty-data.jpg");
    background-position: center;
  }
}

.my-page{
  padding: 30px 0;
  &.record,
  &.collect,
  &.setting{
    &>.content{
      width: 1000px;
    }
    .my-page-nav{
      width: 180px;
      background-color: #F5F5F5;
      &>.item{
        padding: 15px 0;
        border-bottom: 1px solid #E0E0E0;
      }
      a{
        position: relative;
        display: block;
        height: 30px;
        line-height: 30px;
        font-size: 16px;
        color: #666;
        text-align: center;
        &:hover,
        &.active{
          color: $main_color;
        }
        &.active:before{
          content: '';
          position: absolute;
          left: 0;
          top: -2px;
          width: 3px;
          height: 34px;
          background-color: $main_color;
        }
      }
    }
    .my-page-cnt{
      width: 800px;
      margin-left: 20px;
      &>.title{
        font-size: 16px;
        font-weight: 700;
        color: #333;
      }
      &>.list{
        &>.item{
          margin-bottom: 20px;
          border: 1px solid #eee;
          border-radius: 5px;
          &:hover{
            border-color: #fff;
            box-shadow: 0 0 5px 1px #e8e8e8;
          }
        }
      }
    }
  }
  &.record,
  &.setting{
    .my-page-cnt{
      &>.filter{
        margin: 10px 0 20px;
        background-color: #F5F5F5;
        border-radius: 5px;
        a{
          display: block;
        }
        a.active{
          color: $main_color;
          &>a{
            color: $main_color;
          }
          &:before{
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 60px;
            height: 2px;
            background-color: $main_color;
          }
        }
        &>.accept,
        &>a{
          position: relative;
          display: inline-block;
          width: 60px;
          margin: 0 48px;
          line-height: 42px;
          text-align: center;
          &:not(.last):after{
            content: '';
            position: absolute;
            right: -48px;
            bottom: 10px;
            width: 1px;
            height: 20px;
            background-color: #CDCDCD;
          }
        }
        &>.accept{
          position: relative;
          div{
            display: none;
            position: absolute;
            z-index: 10001;
            overflow: hidden;
            left: -20px;
            top: 42px;
            width: 100px;
            padding: 0;
            line-height: 36px;
            box-shadow: 0 2px 4px rgba(0,0,0,.12);
            border: 1px solid #eee;
            background-color: #fff;
            border-radius: 2px;
            a.active:before{
              height: 0px;
            }
          }
          &:hover{
            div{
              display: block;
            }
          }
        }
      }
    }
  }
  &.record{
    .my-page-cnt{
      &>.list{
        &>.item{
          .layui-row{
            padding: 20px;
            &:nth-child(2){
              background-color: #F5F5F5;
              .layui-col-md4:nth-child(3){
                padding-top: 7px;
              }
            }
          }
          .layui-col-md4{
            &:nth-child(1){
              width: 360px;
            }
            &:nth-child(2){
              width: 220px;
            }
            &:nth-child(3){
              position: relative;
              width: 176px;
              text-align: right;
            }
          }
          a,
          .salary,
          .status{
            font-size: 16px;
          }
          a{
            display: block;
            width: 250px;
            padding-bottom: 15px;
            color: $main_color;
            &:hover{
              text-decoration: underline;
            }
            &.off{
              color: #666;
              &:hover{
                text-decoration: none;
              }
            }
          }
          .salary{
            color: $orange;
          }
          .progress,
          .post{
            color: #A0A0A0;
          }
          .progress{
            position: absolute;
            right: 0;
            width: 340px;
          }
          .status{
            height: 36px;
            color: #555;
          }
          .contact,
          .phone,
          .location,
          .time{
            color: #737373;
          }
          .contact{
            display: inline-block;
            width: 160px;
          }
          .location{
            display: block;
            padding-top: 5px;
          }
          .layui-btn{
            width: 80px;
            height: 32px;
            padding: 0;
            line-height: 32px;
            text-align: center;
            background-color: $main_color;
            &.layui-btn-primary{
              background-color: #fff;
              color: $main_color;
              border-color: $main_color;
            }
            &+.layui-btn{
              margin-left: 5px;
            }
          }
        }
        &>.item{
          &.undeal{
            .status{
              color: #F19645;
            }
          }
          &.done{
            .status{
              color: $main_color;
            }
          }
          &.refuse{
            .status{
              color: #555;
            }
          }
        }
      }
    }
  }
  &.collect{
    .my-page-cnt{
      &>.title{
        padding-bottom: 20px;
      }
      &>.list{
        &>.item{
          padding: 20px;
        }
        .layui-col-md2{
          width: 80px;
        }
        .layui-col-md6{
          width: 520px;
          a{
            width: 280px;
            padding: 3px 0 12px;
            font-size: 16px;
            &.off{
              color: #666;
              &:hover{
                text-decoration: none;
              }
            }
          }
        }
        .layui-col-md4{
          width: 152px;
          text-align: right;
        }
        .short-name,
        img{
          width: 62px;
          height: 62px;
          border-radius: 5px;
        }
        .short-name{
          padding: 5px;
          font-size: 20px;
        }
        a{
          display: inline-block;
          color: $main_color;
          &:hover{
            text-decoration: underline;
          }
        }
        .salary{
          vertical-align: top;
          font-size: 16px;
          color: $orange;
        }
        .time{
          display: block;
          padding-bottom: 22px;
        }
        .time,
        .post{
          color: #A0A0A0;
        }
        .seperation{
          color: #989898;
          margin: 0 3px;
          &+span{
            color: #666;
          }
        }
      }
    }
  }
  &.setting{
    padding-bottom: 0px;
    .my-page-cnt{
      &>.filter{
        width: 320px;
        margin-bottom: 30px;
      }
    }
    div.section{
      min-height: 500px;
    }
    .account-info{
      width: 490px;
      .layui-row{
        margin-bottom: 25px;
        padding-bottom: 25px;
        border-bottom: 1px dashed #ccc;
        &:last-child{
          border-bottom: none;
        }
      }
      .layui-col-md4{
        width: 80px;
        color: #A0A0A0;
      }
      .layui-col-md8{
        width: 405px;
        &>span{
          color: #666;
        }
      }
      a{
        float: right;
        color: $main_color;
        &:hover{
          opacity: .85;
        }
      }
      .tip{
        padding-bottom: 15px;
        color: #A0A0A0;
      }
      .user-head{
        height: 60px;
        width: 60px;
        border-radius: 5px;
      }
      .layui-form{
        margin-top: 10px;
        padding: 20px 70px 20px 20px;
        background-color: #F5F5F5;
        border-radius: 5px;
        .title{
          padding-bottom: 8px;
          color: #666;
        }
        .layui-form-item{
          &:last-child{
            padding-top: 5px;
            margin-bottom: 0;
          }
        }
        .layui-btn,
        .layui-input{
          height: 32px;
          line-height: 32px;
        }
        .layui-btn{
          background-color: $main_color;
          &.min{
            width: 100px;
            padding: 0;
            margin-left: 10px;
            vertical-align: 0px;
          }
          &.layui-btn-primary{
            color: $main_color;
            border-color: $main_color;
            background-color: #fff;
          }
        }
        .layui-input{
          &.min{
            display: inline-block;
            width: 200px;
          }
        }

      }
    }
    .password{
      width: 200px;
      .title{
        padding-bottom: 5px;
        color: #A1A1A1;
      }
      .layui-form-item{
        position: relative;
        &:last-child{
          padding-top: 10px;
        }
        &.msg{
          width: 330px;
          color: #333;
        }
      }
      .layui-input{
        height: 30px;
        line-height: 30px;
        border-color: #CCCCCC;
        &:focus{
          border-color: #bbb!important;
        }
      }
      .layui-btn{
        width: 60px;
        height: 32px;
        line-height: 32px;
        padding: 0;
        background-color: $main_color;
      }
      .pwd-icon-close{
        bottom: 6px;
      }
    }
  }
}

.my-page.resume{
  div.data{
    display: none!important;
  }
  .add-icon,
  .edit-icon{
    float: right;
    margin-top: 3px;
    margin-right: 5px;
    font-size: 14px;
    color: $main_color;
    &:before{
      content: '';
      display: inline-block;
      width: 16px;
      height: 16px;
      margin-right: 3px;
      background-image:url($sprite);
      vertical-align: -2px;
    }
    &:hover{
      opacity: .8;
    }
  }
  .add-icon{
    &:before{
      background-position: -20px -137px;
    }
  }
  .edit-icon{
    &:before{
      background-position: -54px -137px;
    }
  }
  .date-input{
    background-position: 172px center;
    background-image: url('');
    background-repeat: no-repeat;
  }
  .resume-bar{
    position: relative;
    width: $minWidth;
    &.fixed{
      position: fixed;
      z-index: 10001;
      top: 95px;
    }
  }
  .resume-cnt,
  .resume-nav>.file,
  .resume-nav>.online{
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  .resume-file{
    display: none;
    width: 60px;
    padding: 5px 0;
    position: absolute;
    z-index: 10001;
    right: 30px;
    top: 28px;
    background-color: #fff;
    box-shadow: 0 0 5px 1px #e8e8e8;
    border-radius: 3px;
    text-align: center;
    &>*{
      display: block;
      padding: 3px 0;
      color: #666;
      &:hover{
        cursor: pointer;
        color: $main_color;
      }
    }
  }
  .resume-nav>.file{
    margin-bottom: 20px;
    .title{
      padding: 18px 20px;
      font-size: 18px;
      color: #333;
    }
    .files>.item{
      position: relative;
      padding: 8px 20px;
      color: #666;
      &>span{
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      &:first-child{
        padding-top: 15px;
        border-top: 1px solid #ccc;
        .resume-file{
          top: 36px
        }
      }
      &:last-child{
        margin-bottom: 10px;
      }
      &:hover{
        &>a{
          color: $main_color;
        }
        .resume-file{
          display: block;
        }
      }
    }
  }
  .resume-nav>.online{
    padding: 10px 35px;
    font-size: 16px;
    a{
      position: relative;
      display: block;
      padding: 8px 0;
      color: #666;
      &:hover{
        color: $main_color;
      }
      &.current{
        color: $main_color;
        &:before{
          content: '';
          position: absolute;
          left: -35px;
          top: 14px;
          display: block;
          width: 24px;
          height: 10px;
          background-color: $main_color;
          border-radius: 0 12px 12px 0;

        }
      }
    }
  }
  .resume-nav{
    background-color: #fff;
    position: absolute;
    width: 280px;
    right: 0;
    top: 0px;
  }
  .resume-cnt{
    box-sizing: border-box;
    width: 895px;
    padding: 0 20px;
    .layui-icon-about{
      position: absolute;
      right: 18px;
      top: 27px;
      color: #999;
      font-size: 18px;
      cursor: help;
    }
    .max-length{
      position: absolute;
      right: 10px;
      bottom: 6px;
      color: #999;
      background-color: #fff;
    }
    .resume-item{
      position: relative;
      padding-bottom: 15px;
      border-bottom: 1px dashed #ccc;
      &:last-child{
        border-bottom: none;
      }
    }
    .target-title{
      position: absolute;
      top: -64px;
    }
    .resume-title{
      padding: 22px 0 15px;
      font-size: 18px;
      color: #222;
      &:before{
        content: '';
        display: inline-block;
        margin-right: 5px;
        width: 3px;
        height: 16px;
        background-color: $main_color;
        vertical-align: -2px;
      }
    }
    .layui-form{
      position: relative;
      overflow: hidden;
      background-color: #F5F5F5;
      padding: 20px;
      margin-bottom: 15px;
    }
    .layui-form-item{
      position: relative;
      float: left;
      clear: none;
      width: 200px;
      height: 57px;
      margin-right: 60px;
      &.max{
        width: 100%;
        height: auto;
      }
      &.min-max{
        input{
          display: inline;
          width: 92px;
        }
      }
      &.skill{
        &>span{
          float: left;
          display: block;
          margin-top: 6px;
          padding-right: 10px;
          color: #666;
        }
        &>div{
          padding-left: 80px;
        }
        .upload{
          padding: 10px 0;
          color: #666;
        }
        .wrap{
          position: relative;
          height: 32px;
          padding-top: 5px;
          input{
            position: absolute;
            &:nth-child(1){
              left: 0;
            }
            &:nth-child(2){
              left: 204px;
            }
            &:nth-child(3){
              left: 408px;
            }
          }
        }
        a{
          color: $main_color;
          &:hover{
            opacity: .8;
          }
        }
        select,
        input{
          display: inline;
          width: 200px;
          color: #666;
        }
        button{
          width: 80px;
          vertical-align: 1px;
        }
        &:last-child{
          margin-bottom: 0;
        }
      }
      &.label{
        height: 72px;
        overflow: hidden;
        margin-bottom: 0;
        &.more{
          height: auto;
          overflow: auto;
        }
        &+.label{
          height: auto;
          overflow: auto;
          margin-bottom: 5px;
        }
        a{
          position: absolute;
          right: 0px;
          top: 3px;
          color: $main_color;
          &:hover{
            opacity: .8;
          }
        }
        label,
        span{
          display: inline-block;
          margin: 0 8px 10px 0;
          padding: 0 15px;
          line-height: 24px;
          border-radius: 12px;
          border: 1px solid #ccc;
          color: #999;
          cursor: pointer;
          &.selected{
            color: #fff;
            border-color: $main_color;
            background-color: $main_color;
            &:hover{
              opacity: .85;
            }
          }
          &:not(.selected):hover{
            border-color: $main_color;
            color: $main_color;
          }
        }
        span{
          border-color: $main_color;
          color: $main_color;
        }
      }
    }
    .layui-form-label{
      float: none;
      padding: 0 0 5px;
      color: #666;
    }
    select{
      padding: 0 5px;
      border-radius: 2px;
      color: #666;
    }
    select,
    .layui-form-label,
    .layui-form-select,
    .layui-input{
      width: 100%;
      text-align: left;
    }
    select,
    .layui-input,
    .layui-select,
    .layui-textarea{
      height: 32px;
      line-height: 32px;
      border-color: #ccc;
      &:focus{
        border-color: $main_color!important;
      }
    }
    .remark{
      padding-bottom: 30px;
      background-color: #fff;
      border: 1px solid #ccc;
      border-radius: 2px;
      &.hover{
        border-color: $main_color;
      }
    }
    .layui-textarea{
      height: 126px;
      line-height: normal;
      border: none;
    }
    .down-arrow,
    .layui-edge{
      width: 12px;
      height: 12px;
      border: none;
      background-image: url($icon_down_arrow);
      background-size: 100%;
      top: auto;
      bottom: 10px;
      border-width: 5px;
    }
    .down-arrow{
      left: 180px;
      bottom: 26px;
    }
    .layui-form-select{
      display: inline-block;
      &.layui-form-selected .layui-edge{
        bottom: 11px;
      }
    }
    .layui-btn{
      width: 60px;
      height: 32px;
      line-height: 32px;
      padding: 0;
      background-color: $main_color;
    }
    .layui-btn-primary{
      color: $main_color;
      border-color: $main_color;
      background-color: #fff;
    }
    .layui-form-select dl dd,
    .layui-form-select dl dt{
      line-height: 34px;
    }
    .layui-form-checkbox{
      position: absolute;
      right: -9px;
      bottom: 1px;
      padding-right: 0;
      .layui-icon{
        display: none;
      }
    }
    .layui-form-checked span,
    .layui-form-checked:hover span{
      background-color: $main_color;
    }
  }
  .resume-short{
    box-sizing: border-box;
    width: 895px;
    padding: 8px 20px;
    overflow: auto;
    color: #9A9A9A;
    .download{
      user-select: none;
      &:hover{
        cursor: pointer;
        text-decoration: underline;
      }
      &:before{
        content: '';
        display: inline-block;
        width: 18px;
        height: 18px;
        margin-right: 5px;
        background-image: url($sprite);
        background-position: -155px -135px;
        vertical-align: -2px;
      }
      &[disabled]{
        cursor: not-allowed;
        opacity: 1;
      }
    }
    .update{
      float: right;
    }
  }
  .resume-self{
    span.label{
      display: inline-block;
      margin: 0 10px 10px 0;
      padding: 0 15px;
      line-height: 24px;
      border-radius: 12px;
      border: 1px solid #eee;
      color: #999;
      background-color: #eee;
      &:hover{
        cursor: default;
      }
    }
    .label{
      padding-bottom: 5px;
    }
    .cnt{
      color: #666;
      line-height: 2;
    }
  }
  .resume-skill{
    .item{
      display: table;
      width: 100%;
      &+.item{
        margin-top: 10px;
      }
    }
    .type{
      width: 90px;
      vertical-align: top;
      color: #555;
    }
    .type,
    ul.cnt{
      display: table-cell;
      &>li{
        position: relative;
        float: left;
        width: 120px;
        margin-right: 10px;
        text-align: center;
        &:hover{
          .delete{
            display: block;
          }
        }
      }
      img{
        width: 100%;
        height: 90px;
      }
      .name{
        line-height: 24px;
        color: #333;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        cursor: default;
      }
      .delete{
        display: none;
        position: absolute;
        top: 64px;
        width: 100%;
        height: 26px;
        line-height: 26px;
        color: #fff;
        background: rgba(0,0,0,.4);
        &:hover{
          cursor: pointer;
          opacity: .85;
        }
      }
    }

  }
  .resume-item-cnt{
    .item{
      color: #666;
      &:hover{
        h5{
          text-decoration: underline;
        }
        a.del,
        a.edit{
          display: block;
        }
      }
      &+.item{
        margin-top: 15px;
      }
    }
    h5{
      padding-bottom: 5px;
      font-size: 16px;
      color: #222;
      a{
        display: none;
        float: right;
        margin: 2px 5px 0 5px;
        font-size: 12px;
        color: #666;
        &:hover{
          opacity: .85;
        }
      }
    }
    .short{
      padding-bottom: 12px;
      &>span{
        display: inline-block;
        width: 250px;
        margin-right: 10px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
    }
    .cnt{
      line-height: 1.8;
    }
  }
  .resume-post,
  .resume-language{
    color: #666;
    span{
      display: inline-block;
      width: 250px;
      margin-right: 10px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .del,
    .edit{
      display: none;
      float: right;
      margin-right: 5px;
      font-size: 12px;
      color: #666;
      &:hover{
        opacity: .85;
      }
    }
    .edit{
      margin-right: 10px;
    }
    .item{
      &>div{
        padding-bottom: 3px;
        color: #222;
      }
      &+.item{
        margin-top: 15px;
      }
      &:hover{
        .del,
        .edit{
          display: block;
        }
      }
    }
    &+.layui-form{
      margin-top: 15px;
    }
  }
  .resume-base{
    display: table;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 10px;
    position: relative;
    .img,
    .cnt{
      display: table-cell;
      vertical-align: top;
    }
    .img{
      position: relative;
      width: 130px;
      height: 130px;
      cursor: pointer;
      &>div,
      &>img{
        width: 100%;
        height: 100%;
        border-radius: 5px;
      }
      &>div{
        position: absolute;
        top: 0px;
        background: rgba(0,0,0, .4);
        &::before{
          content: '';
          display: block;
          width: 50px;
          height: 50px;
          margin: 40px auto;
          background-image: url($sprite);
          background-position: -83px -127px;
        }
        &:hover{
          background: rgba(0,0,0, .6);
        }
      }
    }
    .cnt{
      padding-left: 35px;
      &>h3,
      &>div{
        padding-bottom: 15px;
        &:last-child{
          padding-bottom: 0;
        }
      }
      h3{
        padding-bottom: 20px;
        font-size: 16px;
        font-weight: 700;
        color: #333;
      }
      div{
        color: #666;
      }
      .tel,
      .email{
        position: relative;
        box-sizing: border-box;
        display: inline-block;
        width: 130px;
        &::before{
          content: '';
          display: block;
          position: absolute;
          left: 0px;
          height: 18px;
          background-image: url($sprite);
        }
      }
      .tel{
        padding-left: 22px;
        &::before{
          width: 20px;
          background-position: -189px -137px;
        }
      }
      .email{
        padding-left: 30px;
        &::before{
          width: 24px;
          background-position: -210px -135px;
        }
      }
      .edit-icon{
        float: none;
        position: absolute;
        right: 0px;
        top: 18px;
      }
    }
  }
  .resume-post,
  .resume-skill,
  .resume-item-cnt{
    .item+.layui-form,
    &+.layui-form{
      margin-top: 15px;
    }
  }
}

.not-down-arrow{
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;
}

.layui-form.label{
  .layui-input{
    margin: 50px auto;
    width: 260px;
    height: 40px;
    line-height: 40px;
  }
}



// post
// index detail company
.post-page{
  &.post-index,
  &.post-company,
  &.post-detail{
    section.content{
      padding: 30px 0 40px;
      .layui-laypage{
        text-align: left;
      }
      &>.layui-row{
        &>.layui-col-md3,
        &>.layui-col-md9{
          float: none;
          display: table-cell;
          vertical-align: top;
        }
      }
    }
    .right-cnt{
      width: 280px;
      padding-left: 25px;
      border-left: 1px solid #ccc;
    }
    .left-cnt{
      width: 920px;
      min-height: 300px;
      padding-right: 20px;
    }
  }
  &.post-company{
    .bg{
      height: 200px;
      background-image: url("/public/images/post/post-company-bg.jpg");
      background-position: center;
      .layui-row{
        padding-top: 50px;
      }
      .layui-col-md2{
        width: 130px;
        .short-name,
        &>img{
          width: 100px;
          height: 100px;
          border-radius: 5px;
        }
        .short-name{
          font-size: 34px;
        }

      }
      .layui-col-md6{
        width: 790px;
        &>h3{
          margin: 15px 0;
          font-size: 22px;
          color: #333;
        }
        &>span{
          color: #999;
          margin-right: 10px;
        }
      }
      .layui-col-md4{
        width: 270px;
        color: #333;
        &>span{
          font-size: 16px;
        }
        &>h2{
          margin: 9px 0;
          font-size: 32px;
        }
      }
    }
    .search-box{
      .layui-form-select,
      .layui-input{
        display: inline-block;
        width: 150px;
        height: 32px;
        line-height: 32px;
        margin-right: 10px;
        border-color: #CCCCCC;
        &:focus{
          border-color: #bbb!important;
        }
      }
      .layui-btn{
        width: 32px;
        height: 32px;
        line-height: 32px;
        vertical-align: bottom;
        padding: 0;
        margin-left: -15px;
        background-color: $main_color;
        background-image: url($sprite);
        background-position: -13px -69px;
      }
    }
    .right-cnt{
      &>h3,
      &>div{
        padding-bottom: 12px;
      }
      &>h3{
        font-size: 16px;
        color: #222;
      }
      &>div{
        color: #737373;
        line-height: 1.6;
        &>span{
          display: table-cell;
          &:first-child{
            width: 70px;
          }
        }
        &.line{
          height: 1px;
          margin: 18px 0 28px;
          padding-bottom: 0;
          border-bottom: 1px dashed #ccc;
        }
      }
    }
    .list{
      display: table;
      width: 100%;
      padding: 10px 0 5px;
    }
    .item{
      box-sizing: border-box;
      position: relative;
      float: left;
      width: 100%;
      height: 90px;
      padding: 15px 0;
      margin-top: 20px;
      border: 1px solid #eee;
      border-radius: 3px;
      &:nth-child(3n){
        margin-right: 0;
      }
      &>.title{
        overflow: hidden;
        padding: 0 18px 10px;
        &>a h3{
          color: $main_color;
        }
        &>a:hover{
          h3{
            text-decoration: underline;
          }
        }
      }
      &:hover{
        border-color: #fff;
        box-shadow: 0 0 5px 1px #e8e8e8;
      }
      &.wp{
        &::before{
          content: '';
          display: block;
          width: 49px;
          height: 28px;
          position: absolute;
          left: -11px;
          top: -6px;
          background-image: url($wp_icon);
          background-position: center;
        }
      }
      .post,
      .salary{
        font-size: 18px;
      }
      .time,
      .scale,
      .post-short{
        color: #999;
      }
      .post{
        max-width: 500px;
        margin-right: 15px;
        color: #333;
      }
      .time{
        margin-top: 5px;
      }
      .salary{
        color: $orange;
      }
      .post-short{
        padding: 5px 18px 20px;
      }

    }
  }
  &.post-detail{
    .bg{
      height: 234px;
      background-image: url("/public/images/post/post-detail-bg.jpg");
      &>.content{
        padding-top: 40px;
      }
      .layui-col-md8{
        width: 920px;
      }
      .layui-col-md4{
        width: 280px;
      }
      div.item{
        padding-bottom: 12px;
      }
      .status{
        margin-right: 20px;
        color: #F45D56;
      }
      .short,
      .time{
        color: #999;
      }
      .salary,
      .title{
        font-size: 24px;
        font-weight: normal;
      }
      .title{
        margin-right: 60px;
        color: #333;
        &.wp{
          &:after{
            content: '';
            display: inline-block;
            width: 55px;
            height: 30px;
            background-image: url($wp_icon_detail);
            background-position: right;
            background-repeat: no-repeat;
            vertical-align: -6px;
          }
        }
      }
      .salary{
        color: $orange;
      }
      .label{
        display: inline-block;
        margin: 8px 15px 0 0;
        padding: 0 15px;
        line-height: 26px;
        border-radius: 13px;
        color: #F45D56;
        background-color: #F9EAEF;
      }
      .layui-btn{
        display: block;
        width: 100%;
        height: 44px;
        line-height: 44px;
        margin-top: 20px;
        background-color: $main_color;
        font-size: 18px;
      }
      .upload{
        padding: 20px 0;
        overflow: hidden;
      }
      a{
        color: $main_color;
        &:hover{
          opacity: .85;

        }
        &.collect{
          color: $orange;
          &:before{
            content: '';
            display: inline-block;
            width: 14px;
            height: 14px;
            margin-right: 3px;
            background-image: url($sprite);
            background-position: -21px -102px;
            vertical-align: -2px;
          }
          &.selected:before{
            background-position: -55px -102px;
          }
        }
      }

    }
    .left-cnt{
      width: 920px;
      &>.item{
        padding: 25px 0;
        border-bottom: 1px dashed #ccc;

        &:first-child{
          padding-top: 0;
        }
        &:last-child{
          border-bottom: none;
        }
      }
      .title,
      .title-2th{
        color: #222;
      }
      .title{
        padding-bottom: 15px;
        font-size: 16px;
      }
      .title-2th{
        padding-bottom: 10px;
      }
      .describe{
        color: #808080;
        line-height: 1.8;
        &+.title-2th{
          padding-top: 20px;
        }
        img{
          max-width: 100%;
        }
      }
    }
    .right-cnt{
      a:hover{
        color: $main_color;
      }
      .before{
        &:before{
          content: '';
          display: inline-block;
          width: 18px;
          height: 18px;
          padding-right: 8px;
          background-image: url($sprite);
          vertical-align: -4px;
        }
      }
      .layui-row{
        padding-bottom: 5px;
      }
      .layui-col-md3{
        width: 70px;
        .short-name,
        img{
          width: 60px;
          height: 60px;
          border-radius: 3px;
        }
        .short-name{
          padding: 5px;
          font-size: 20px;
        }
      }
      .layui-col-md9{
        width: 182px;
        h3{
          padding-bottom: 15px;
          font-size: 16px;
          color: #222;
        }
        .state{
          color: #008438;
          &:before{
            background-position: -86px -100px;
          }
        }
      }
      .item{
        padding-top: 15px;
        color: #666;
        &.area{
          &:before{
            background-position: -120px -100px;
          }
        }
        &.type{
          &:before{
            background-position: -153px -100px;
          }
        }
        &.scale{
          &:before{
            background-position: -188px -100px;
          }
        }
        &.net{
          &:before{
            background-position: -221px -100px;
          }
        }
      }
    }
  }

  &.post-index{
    padding: 30px 0;
    .search-box{
      width: 890px;
      height: 44px;
      border: 2px solid $main_color;
      border-radius: 2px;
      font-size: 0px;
      .search-location,
      .search-input,
      .search-btn{
        font-size: 16px;
      }
      .search-location{
        float: left;
        display: inline-block;
        width: 100px;
        line-height: 44px;
        border-right: 1px solid #ccc;
        background-color: #fff;
        text-align: center;
        color: #444;
        letter-spacing: 1px;
        &.layui-icon-down:before{
          float: right;
          margin-right: 3px;
        }
        &:hover{
          cursor: pointer;
          opacity: .85;
        }
      }
      .search-input{
        box-sizing: border-box;
        width: 668px;
        height: 44px;
        line-height: 44px;
        padding: 0 10px 0 20px;
        border: none;
        outline: none;
      }
      .search-btn{
        float: right;
        background-color: $main_color;
        height: 44px;
        width: 120px;
        border-radius: 0 1px 1px 0;
        letter-spacing: 4px;
        &:hover{
          opacity: .95;
        }
      }
      &:hover{
        opacity: .9;
      }
    }
    .search-condition{
      margin: 10px 0 30px;
      border: 1px solid #eee;
      background-color: #f8f8f8;
      border-radius: 2px;
      .condition-wrap{
        padding: 20px 20px 10px;
        &+.condition-wrap{
          padding: 10px 20px;
          border-top: 1px dashed #ddd;
        }
      }
      .condition-item{
        &>.condition-item-inner{
          width: 1000px;
          height: 30px;
          overflow: hidden;
          &.more{
            height: auto;
          }
        }
      }
      .condition-item-more{
        &>.condition-item-inner{
          width: 100%;
          padding: 0 10px;
          margin: 0 0 10px 80px;
          line-height: 34px;
          background-color: #eee;
        }
      }
      .condition-item-more,
      .condition-item{
        overflow: hidden;
        margin-bottom: 10px;
        &:last-child{
          margin-bottom: 0;
        }
        &>*{
          float: left;
          line-height: 30px;
        }
        &>strong{
          margin-right: 5px;
          color: #666;
          letter-spacing: 1px;
        }
        .condition{
          display: inline-block;
          padding: 0 8px;
          color: #777;
          &:hover{
            cursor: pointer;
            color: $main_color;
          }
          &.current{
            padding: 0 8px;
            color: #fff;
            background-color: $main_color;
            border-radius: 3px;
            line-height: 24px;

          }
        }
      }
      .layui-select.max+.layui-form-select{
        width: 120px;
      }
      .layui-form-select{
        display: inline-block;
        width: 100px;
        margin-right: 75px;

        dl{
          padding: 0;
        }
        ::-moz-placeholder{
          color: #777;
        }
        ::-ms-input-placeholder{
          color: #777;
        }
        ::-webkit-input-placeholder {
          color: #777;
        }
        .layui-input{
          height: 26px;
          border: none;
          padding-left: 0;
          padding-right: 0;
          background-color: #f8f8f8;
        }
        .layui-edge{
          right: 12px;
          border-top-color: #555;
        }
      }
      a.more{
        float: right;
        line-height: normal;
        margin-top: 5px;
        color: $main_color;
        &:hover{
          text-decoration: underline;
        }
      }
      a.clear{
        float: right;
        margin-top: 3px;
        color: #777;
        &:hover{
          color: $main_color;
        }
      }
    }
    .right-cnt{
      padding-left: 0;
      border-left: none;
      section{
        margin-bottom: 20px;
        border-radius: 2px;
        border: 1px solid #eee;
        h3{
          padding: 0 10px;
          line-height: 48px;
          border-bottom: 1px solid #eee;
          background-color: #f8f8f8;
          color: #333;
          font-size: 18px;
        }
        &:last-child{
          margin-bottom: 0;
        }
        &.qun,
        &.post{
          .layui-row{
            padding: 20px;
            border-bottom: 1px dashed #eee;
            &:last-child{
              border-bottom: none;
            }
          }
        }
        &.gzh{
          div{
            padding: 25px 0;
          }
          p{
            padding-top: 8px;
            color: #999;
          }
        }
        &.qun{
          .layui-col-md2{
            width: 42px;
            height: 42px;
            background-image: url($sprite);
            &.qun-1{
              background-position: -14px -16px;
            }
            &.qun-2{
              background-position: -71px -16px;
            }
            &.qun-3{
              background-position: -133px -16px;
            }
          }
          .layui-col-md6{
            width: 145px;
            padding-left: 10px;
            font-size: 18px;
            color: #333;
          }
          .layui-col-md4,
          .layui-col-md6{
            line-height: 42px;
          }
          .layui-col-md4{
            position: relative;
            width: 50px;
          }
          .layui-btn{
            width: 45px;
            height: 26px;
            padding: 0;
            line-height: 24px;
            color: $main_color;
            border: 1px solid $main_color;
            background-color: #fff;
            &:hover{
              color: #fff;
              background-color: $main_color;
              &+.ewm{
                display: block;
              }
            }
          }
        }
        &.ad{
          border: none;
          img{
            width: 100%;
          }
        }
        &.post{
          .layui-col-md8{
            width: 135px;
            &>*{
              display: inline-block;
              width: 100%;
            }
          }
          .layui-col-md4{
            width: 100px;
            text-align: right;
          }
          .company,
          .salary,
          a{
            font-size: 16px;
          }
          a{
            color: #333;
            &:hover{
              color: $main_color;
            }
          }
          .company{
            color: #999;
            font-size: 14px;
          }
          .salary{
            color: $orange;
          }
        }
      }
      .ewm{
        display: none;
        position: absolute;
        z-index: 10001;
        right: -24px;
        top: -110px;
      }
    }
    .left-cnt{
      padding-right: 30px;
      .item{
        position: relative;
        margin-bottom: 20px;
        border: 1px solid #eee;
        border-radius: 2px;
        &:hover{
          box-shadow: 0 0 5px 2px #e8e8e8;
        }
        a{
          &:hover{
            .title,
            .company{
                text-decoration: underline;
            }
          }
        }
        .title,
        .company,
        .location{
          display: inline-block;
          font-size: 16px;
          color: $main_color;
        }
        .title{
          max-width: 275px;
          vertical-align: -4px;
        }
        .time{
          margin-left: 15px;
        }
        .company{
          max-width: 270px;
        }
        .post,.time,.type{
          color: #999;
        }
        .salary{
          margin-right: 15px;
          color: $orange;
        }
        .layui-row{
          padding: 20px;
        }
        div.type{
          padding-top: 11px;
        }
        div.short{
          padding-top: 15px;
        }
        .layui-col-md6{
          width: 490px;
        }
        .layui-col-md4{
          width: 308px;
        }
        .layui-col-md2{
          width: 50px;
          .short-name,
          img{
            width: 50px;
            height: 50px;
            border-radius: 5px;
          }
          .short-name{
            padding: 5px;
            font-size: 16px;
          }
        }
        .label{
          padding: 10px 20px;
          background-color: #fafafa;
          &>label{
            display: inline-block;
            margin-right: 20px;
            line-height: 24px;
            padding: 0 8px;
            color: #999;
            font-size: 12px;
            border: 1px solid #eee;
            border-radius: 2px;
          }
        }
        &.wp{
          &::before{
            content: '';
            display: block;
            width: 49px;
            height: 28px;
            position: absolute;
            left: -10px;
            top: -6px;
            background-image: url($wp_icon);
            background-position: center;
          }
        }
      }
    }

    .search-container{
      width: 100%;
      &.fixed{
        position: fixed;
        z-index: 10001;
        top: 64px;
        padding: 20px 0;
        background-color: #f8f8f8;
        box-shadow: 0 0 5px 2px rgba(0,0,0,.1);
      }
    }
  }
}

// sign register modal
.sign-reg-modal{
  padding: 0 45px;
  .modal-title,
  .modal-txt{
    text-align: center;
  }
  .modal-title{
    padding-bottom: 3px;
    color: $main_color;
    font-size: 30px;
  }
  .modal-txt{
    padding-bottom: 25px;
    color: #333;
  }
  .layui-form-item{
    .layui-btn,
    .layui-input{
      width: 100%;
      height: 40px;
      line-height: 40px;
      border-radius: 3px;
    }
  }
  .layui-input:focus {
    border-color: #999!important;
  }
  .layui-btn{
    background-color: $main_color;
  }
  .layui-form-item{
    position: relative;
    &.code{
      .layui-input{
        display: inline-block;
        width: 195px;
      }
      .layui-btn{
        width: 70px;
        margin-left: 10px;
        vertical-align: 0px;
      }
    }
  }
  .sign-form-ag{
    color: #909090;
    font-size: 12px;
    text-align: center;
    &>span, a{
      color: $main_color;
    }
  }
  .sign-form-ag a:hover{
    text-decoration: underline;
  }
  .sign-btm{
    padding: 40px 0 30px;
    text-align: center;
    &>a{
      color: $main_color;
      font-size: 16px;
    }
  }
}

// 多级联动插件
.picker_container{
  border: 1px solid #D6D7D7;
  margin: 0;
  padding: 10px 10px 65px;
  position: absolute;
  top: 0px;
  left: 0px;
  box-sizing: border-box;
  min-width: 230px;
  background-color: #fff;
  border-radius: 3px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.2);
  z-index: 10001;
  .picker_container_btn{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    border-top: 1px solid #E5E5E5;
    text-align: center;
  }
  .layui-btn{
    width: 60px;
    height: 32px;
    line-height: 32px;
    padding: 0;
    background-color: $main_color;
  }
  .layui-btn-primary{
    color: $main_color;
    border-color: $main_color;
    background-color: #fff;
  }
  .sm_container.sm_embed{
    float: left;
  }
  .sm_container{
    width: 200px;
    top: 0!important;
    border: none;
    box-shadow: none;
    &+.sm_container{
      margin-left: 10px;
    }
  }
  .sm_header > h3{
    margin-top: 5px;
    margin-bottom: 12px;
  }
  .sm_header > button{
    display: none;
  }
  .sm_result_area.sm_list_mode{
    padding-left: 8px;
    border-top: none;
  }
  .sm_results{
    max-height: none!important;
  }
  .sm_results > li,
  .sm_results > li > div.sm_item_text{
    display: inline-block;
  }
  .sm_results > li{
    width: 66px;
    padding: 0;
    border-radius: 2px;
    color: #666;
    user-select: none;
  }
  .sm_results>li.sm_message_box{
    width: auto;
    height: 22px;
    line-height: 22px;

  }
  div.sm_item_text{
    box-sizing: border-box;
    width: 100%;
    padding: 0 3px;
    line-height: 21px!important;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .sm_selected_icon{
    display: none;
  }
  ul.sm_results > li.sm_selected{
    color: #fff;
    font-weight: 400;
    background-color: $main_color!important;
    text-align: center;
  }
  ul.sm_results > li{
    &>div.sm_item_text{
      font-size: 13px;
    }
    &:not(.sm_selected).sm_over{
      background-color: #fff !important;
      color: $main_color !important;
    }
  }
}

// jquery.selectMenu
.sm_container_open{
  width: 200px;
  .sm_header,
  .sm_close_button,
  .sm_selected_icon{
    display: none;
  }
  .sm_result_area{
    &>ul.sm_results > li{
      padding: 0 10px;
      &>.sm_item_text{
        height: 34px;
        line-height: 34px;
      }
      &:hover{
        color: #333!important;
        background-color: #f2f2f2!important;
      }
      &.sm_selected{
        font-weight: 400;
        color: #fff;
        background-color: $main_color;
      }
    }
  }
}

// change city
.change-city-modal{
  padding: 20px 0 0;
  color: #777;
  .location,
  .list{
    padding: 0 20px;
  }
  .location{
    padding-bottom: 15px;
    &>div{
      padding-bottom: 8px;
    }
    .current-city,
    .selected{
      position: relative;
      display: inline-block;
      padding: 0 8px;
      margin-right: 5px;
      line-height: 24px;
      text-align: center;
      border-radius: 2px;
      border: 1px solid;
      cursor: default;
      &::before{
        content: '';
        display: block;
        position: absolute;
      }
    }
    .current-city{
      border-color: #D0D0D0;
      padding-left: 25px;
      &::before{
        left: 4px;
        top: 4px;
        width: 18px;
        height: 18px;
        background-image: url($sprite);
        background-position: -53px -78px;
      }
    }
    .selected{
      color: $main_color;
      border-color: $main_color;
      padding-right: 20px;
      &::before{
        content: '×';
        right: 5px;
      }
      &:hover{
        cursor: pointer;
        opacity: .85;
      }
    }
  }
  .list{
    height: 150px;
    padding: 0 10px 0 20px;
    margin-bottom: 12px;
    overflow: auto;
    ul{
      overflow: hidden;
    }
    li{
      box-sizing: border-box;
      float: left;
      width: 62px;
      padding: 0 3px;
      margin: 5px 0;
      line-height: 26px;
      text-align: center;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      &.current{
        color: #fff!important;
        background-color: $main_color;
        border-radius: 2px;
      }
      &:hover{
        cursor: pointer;
        color: $main_color;
      }
    }

    &::-webkit-scrollbar {
      width: 5px;
    }
    &::-webkit-scrollbar-track {
      background-color: #eee;
      border-radius: 2em;
    }
    &::-webkit-scrollbar-thumb {
      background-color: #CCC;
      border-radius: 2em;
      &:hover{
        background-color: #aaa;
      }
    }

  }
  .layui-form-item{
    padding-top: 15px;
    margin-bottom: 0;
    border-top: 1px solid #eee;
  }
}

// 投递简历
.deliver {
  .msg{
    line-height: 140px;
    font-size: 16px;
    color: #666;
  }
  .padding{
    min-height: 70px;
    padding-top: 15px;
    overflow: hidden;
  }
  .item{
    overflow: auto;
    padding: 4px 15px 4px 20px;
    text-align: left;
    .file,
    .operate{
      display: inline-block;
      color: #666;
      a{
        color: #666;
        &:hover{
          color: $main_color;
        }
      }
    }
    .file{
      width: 260px;
      vertical-align: -6px;
    }
    .operate{
      width: 70px;
    }
    &>a{
      color: $main_color;
      &:hover{
        text-decoration: underline;
      }
    }
  }
  .layui-form-item.align-right{
    padding-right: 20px;
    text-align: right;
  }
  .layui-btn{
    width: auto!important;
    min-width: 60px;
    padding: 0 15px!important;
  }
  .layui-form-radio{
    margin: 0;
    padding: 0;
    &.layui-form-radioed{
      &>i{
        color: $main_color;
      }
    }
    &>i{
      margin-right: 2px;
      font-size: 20px;
    }
  }
}


